home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1993 July / InfoMagic USENET CD-ROM July 1993.ISO / sources / x / volume8 / xmail / patch2.01 next >
Encoding:
Internet Message Format  |  1990-08-27  |  13.7 KB

  1. Path: uunet!snorkelwacker!usc!cs.utexas.edu!sun-barr!newstop!sun!parns.nsc.com
  2. From: michael@parns.nsc.com (Michael Wagnitz)
  3. Newsgroups: comp.sources.x
  4. Subject: v08i096: xmail, Patch2, Part01/05
  5. Message-ID: <141429@sun.Eng.Sun.COM>
  6. Date: 28 Aug 90 07:48:45 GMT
  7. Sender: news@sun.Eng.Sun.COM
  8. Lines: 389
  9. Approved: argv@sun.com
  10.  
  11. Submitted-by: michael@parns.nsc.com (Michael Wagnitz)
  12. Posting-number: Volume 8, Issue 96
  13. Archive-name: xmail/patch2.01
  14. Patch-To: xmail: Volume 7, Issue 81
  15. Patch-To: xmail: Volume 6, Issues 41-46
  16.  
  17. The following files constitute the second official set of patches to the
  18. X11 Mail interface program xmail.
  19.  
  20. Many things were fixed or added, such as keyboard accelerators in the Text
  21. window for most of the command panel button actions, keyboard scroll support
  22. for the text and index windows, cut and paste support for all text entry
  23. windows, re-edit of the new message composition, forking of delivery and edit
  24. operations for speed up and to allow cut and paste from the current message
  25. text, fixes for stalled startups due to environment or .mailrc errors, and
  26. much more.  See the CHANGES document and man page for more complete details.
  27.  
  28. After unsharing the files you will have a MANIFEST of this patch distribution
  29. and a set of five files named Patch.02[a-e] that must be concatenated into one
  30. patch file (PATCH.02) which is then to be applied to a patchlevel 1 set of
  31. xmail sources using Larry Wall's patch program.
  32.  
  33. #! /bin/sh
  34. # This is a shell archive.  Remove anything before this line, then unpack
  35. # it by saving it into a file and typing "sh file".  To overwrite existing
  36. # files, type "sh file -c".  You can also feed this as standard input via
  37. # unshar, or by typing "sh <file", e.g..  If this archive is complete, you
  38. # will see the following message at the end:
  39. #        "End of archive 1 (of 5)."
  40. # Contents:  MANIFEST Patch.02e
  41. # Wrapped by michael@harley on Mon Aug 27 12:47:25 1990
  42. PATH=/bin:/usr/bin:/usr/ucb ; export PATH
  43. if test -f 'MANIFEST' -a "${1}" != "-c" ; then 
  44.   echo shar: Will not clobber existing file \"'MANIFEST'\"
  45. else
  46. echo shar: Extracting \"'MANIFEST'\" \(460 characters\)
  47. sed "s/^X//" >'MANIFEST' <<'END_OF_FILE'
  48. X   File Name        Archive #    Description
  49. X-----------------------------------------------------------
  50. X MANIFEST                   1    This shipping list
  51. X Patch.02a                  3    Part 1 of 5 of patch 2 for xmail
  52. X Patch.02b                  2    Part 2 of 5 of patch 2 for xmail
  53. X Patch.02c                  5    Part 3 of 5 of patch 2 for xmail
  54. X Patch.02d                  4    Part 4 of 5 of patch 2 for xmail
  55. X Patch.02e                  1    Part 5 of 5 of patch 2 for xmail
  56. END_OF_FILE
  57. if test 460 -ne `wc -c <'MANIFEST'`; then
  58.     echo shar: \"'MANIFEST'\" unpacked with wrong size!
  59. fi
  60. # end of 'MANIFEST'
  61. fi
  62. if test -f 'Patch.02e' -a "${1}" != "-c" ; then 
  63.   echo shar: Will not clobber existing file \"'Patch.02e'\"
  64. else
  65. echo shar: Extracting \"'Patch.02e'\" \(10080 characters\)
  66. sed "s/^X//" >'Patch.02e' <<'END_OF_FILE'
  67. X  other than the intended Berkeley Mail program.
  68. X  .RE
  69. X  .SH "MAIL VARIABLES"
  70. X--- 591,597 ----
  71. X  path of the process (assumed to be at least \*Q/bin /usr/bin /usr/ucb\*U).
  72. X  If need be, the XMAILER
  73. X  environment variable can be used to provide a specific path to the Mail
  74. X! program.  Note: \*(xM may not work correctly with any mail program
  75. X  other than the intended Berkeley Mail program.
  76. X  .RE
  77. X  .SH "MAIL VARIABLES"
  78. X***************
  79. X*** 545,561 ****
  80. X  \fBscreen=\fI<value>\fR
  81. X  For X11 Release 3, the screen limit is 100 headers.  With X11 Release 4, a
  82. X  maximum of 500 mail message headers will be displayed, as required.
  83. X- .TP 3
  84. X- \fBunset\fI <variable>\fR
  85. X- should not be used to control variable settings, as \*(xM ignores any
  86. X- \*Qunset\*U commands it may find.  Use the \fBset no\fI<variable>\fR construct
  87. X- to disable selected variables instead.
  88. X  .RE
  89. X  .SH "CHANGING VARIABLES"
  90. X! \*(xM provides a method of altering the values of three of the Mail
  91. X  environment variables used to control \*(xM (and Mail) operations.
  92. X! The states of \fBalwaysignore, autoprint,\fR and
  93. X! \fBhold\fR can now be \*Qtoggled\*U from a special menu attached to the
  94. X  \fBpreserve\fR command button.
  95. X  .LP
  96. X  Pressing the right mouse button while the
  97. X--- 654,665 ----
  98. X  \fBscreen=\fI<value>\fR
  99. X  For X11 Release 3, the screen limit is 100 headers.  With X11 Release 4, a
  100. X  maximum of 500 mail message headers will be displayed, as required.
  101. X  .RE
  102. X  .SH "CHANGING VARIABLES"
  103. X! \*(xM provides a mechanism for altering the values of four of the Mail
  104. X  environment variables used to control \*(xM (and Mail) operations.
  105. X! The states of \fBalwaysignore, autoprint, hold,\fR and
  106. X! \fBexpert\fR can now be \*Qtoggled\*U from a special menu attached to the
  107. X  \fBpreserve\fR command button.
  108. X  .LP
  109. X  Pressing the right mouse button while the
  110. X***************
  111. X*** 575,581 ****
  112. X  many requests too quickly when using \*(xM.
  113. X  .SH AUTHOR
  114. X  .ce 3
  115. X! Copyright 1989 - \*(nS
  116. X  ALL RIGHTS RESERVED
  117. X  
  118. X  Michael Wagnitz, \*(nS, Santa Clara, CA
  119. X--- 679,685 ----
  120. X  many requests too quickly when using \*(xM.
  121. X  .SH AUTHOR
  122. X  .ce 3
  123. X! Copyright 1989, 1990 - \*(nS
  124. X  ALL RIGHTS RESERVED
  125. X  
  126. X  Michael Wagnitz, \*(nS, Santa Clara, CA
  127. X*** ../v1.1/xmailregex.h    Mon Jun  4 09:48:46 1990
  128. X--- xmailregex.h    Mon Aug 27 11:09:23 1990
  129. X***************
  130. X*** 32,38 ****
  131. X   * EVENT SHALL NATIONAL SEMICONDUCTOR CORPORATION BE LIABLE FOR ANY SPECIAL,
  132. X   * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  133. X   * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  134. X!  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  135. X   * PERFORMANCE OF THIS SOFTWARE.
  136. X   *
  137. X   * Author:  Michael C. Wagnitz - National Semiconductor Corporation
  138. X--- 32,38 ----
  139. X   * EVENT SHALL NATIONAL SEMICONDUCTOR CORPORATION BE LIABLE FOR ANY SPECIAL,
  140. X   * INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
  141. X   * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
  142. X!  * OR OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
  143. X   * PERFORMANCE OF THIS SOFTWARE.
  144. X   *
  145. X   * Author:  Michael C. Wagnitz - National Semiconductor Corporation
  146. X***************
  147. X*** 46,52 ****
  148. X  #define    C_DELETE    3
  149. X  #define    C_NEWMAIL    4
  150. X  
  151. X! static PatternRec command_pattern[] = {
  152. X      {"Start", NULL },
  153. X      {"[pPcCsSw] [^\n]+\n\\|-\n\\|hold [^\n]+\n\\|m[^\n]+\n\\|n\n", NULL },
  154. X      {"file[^%]*\n", NULL },
  155. X--- 46,55 ----
  156. X  #define    C_DELETE    3
  157. X  #define    C_NEWMAIL    4
  158. X  
  159. X! #ifndef PARSER
  160. X! extern PatternRec *command_pattern;
  161. X! #else
  162. X!        PatternRec command_pattern[] = {
  163. X      {"Start", NULL },
  164. X      {"[pPcCsSw] [^\n]+\n\\|-\n\\|hold [^\n]+\n\\|m[^\n]+\n\\|n\n", NULL },
  165. X      {"file[^%]*\n", NULL },
  166. X***************
  167. X*** 54,59 ****
  168. X--- 57,63 ----
  169. X      {"file %\n\\|inc\n", NULL },
  170. X      NULL
  171. X  };
  172. X+ #endif
  173. X  
  174. X  #define    O_BELL        0
  175. X  #define    O_EXEC        1
  176. X***************
  177. X*** 60,79 ****
  178. X  #define    O_FILE        2
  179. X  #define    O_PRINT        3
  180. X  
  181. X! static PatternRec output_pattern[] = {
  182. X      { "No \\|At \\|Unknown \\|Referencing \\|Cannot \\|Not \\|New \\|May \\|\
  183. X  \"[^\"]+\" \\[Appended\\] [0-9]+/[0-9]+\n\\|\
  184. X  \"[^\"]+\" \\[New file\\] [0-9]+/[0-9]+\n\\|\
  185. X  \"[^\"]+\" No such file or directory\n\\|\
  186. X  \"[^\"]+\" Invalid argument\n\\|\
  187. X  [0-9]+: Inappropriate message\n\\|\
  188. X  [0-9]+: Invalid message number\n\\|\
  189. X  [^:]+: No such file or directory\n\\|\
  190. X  [^:]+: Not a directory\n\\|\
  191. X  [^:]+: not a regular file\n\\|\
  192. X! [^:]+: empty file\n", NULL },
  193. X      { "From \\|Message ", NULL },
  194. X      { "\"[^\"]+\": [0-9]+ message[^\n]+\n\\|[^:]+: [^\n]+\n", NULL },
  195. X      { "Pipe to:[^\n]+\n[^\n]+\n", NULL },
  196. X      NULL 
  197. X  };
  198. X--- 64,92 ----
  199. X  #define    O_FILE        2
  200. X  #define    O_PRINT        3
  201. X  
  202. X! #ifndef PARSER
  203. X! extern PatternRec *output_pattern;
  204. X! #else
  205. X!        PatternRec output_pattern[] = {
  206. X      { "No \\|At \\|Unknown \\|Referencing \\|Cannot \\|Not \\|New \\|May \\|\
  207. X  \"[^\"]+\" \\[Appended\\] [0-9]+/[0-9]+\n\\|\
  208. X  \"[^\"]+\" \\[New file\\] [0-9]+/[0-9]+\n\\|\
  209. X  \"[^\"]+\" No such file or directory\n\\|\
  210. X  \"[^\"]+\" Invalid argument\n\\|\
  211. X+ \"[^\"]+\" Permission denied\n\\|\
  212. X  [0-9]+: Inappropriate message\n\\|\
  213. X  [0-9]+: Invalid message number\n\\|\
  214. X  [^:]+: No such file or directory\n\\|\
  215. X  [^:]+: Not a directory\n\\|\
  216. X  [^:]+: not a regular file\n\\|\
  217. X! [^:]+: empty file\n\\|\
  218. X! [^ ]+ unreadable\\|\
  219. X! [^ ]+ not found\\|\
  220. X! [^:]+: [^:]+: Permission denied\\|\
  221. X! [^:]+: Permission denied\n", NULL },
  222. X      { "From \\|Message ", NULL },
  223. X      { "\"[^\"]+\": [0-9]+ message[^\n]+\n\\|[^:]+: [^\n]+\n", NULL },
  224. X      { "Pipe to:[^\n]+\n[^\n]+\n", NULL },
  225. X      NULL 
  226. X  };
  227. X+ #endif
  228. X*** ../v1.1/XMail.ad    Mon Jun  4 09:46:29 1990
  229. X--- XMail.ad    Mon Aug 27 11:09:17 1990
  230. X***************
  231. X*** 3,5 ****
  232. X  #
  233. X! # Do not use full wildcard (*) on the Geometry specification, or it will
  234. X  # force all popups to initially anchor with those same coordinates.
  235. X--- 3,5 ----
  236. X  #
  237. X! # Do not use full wildcard (*) on the geometry specification, or it will
  238. X  # force all popups to initially anchor with those same coordinates.
  239. X***************
  240. X*** 6,56 ****
  241. X  #
  242. X! *Autograph.background:        cyan
  243. X! *background:            yellow
  244. X! *borderColor:            brown
  245. X! *Cancel.background:        white
  246. X! *Cancel.foreground:        red
  247. X! *Cancel.borderColor:        red
  248. X! *Cancel,.background:        white
  249. X! *Cancel,.foreground:        magenta
  250. X! *Cancel,.borderColor:        magenta
  251. X! *Cc*background:            cyan
  252. X! *Copy.foreground:        blue
  253. X! *commandPanel.background:    goldenrod
  254. X! *copy.background:        cyan
  255. X! *Deliver.background:        green
  256. X! *Deliver.foreground:        brown
  257. X! *Deliver.borderColor:        brown
  258. X! *delete.foreground:        red
  259. X! *delete.background:        white
  260. X! *exit.foreground:        blue
  261. X! *fileWindow*background:        cyan
  262. X! *Folder.background:        cyan
  263. X! *foreground:            brown
  264. X! *forward.foreground:        green3
  265. X! *full.foreground:        red
  266. X! *icon*background:        gold
  267. X! *icon*foreground:        brown
  268. X! *inc.background:        cyan
  269. X! *indexWindow*background:    LightGoldenrod
  270. X! *list.background:        tan
  271. X! *logo.background:        blue
  272. X! *logo.foreground:        white
  273. X! *menu.background:        tan
  274. X! *Newmail.foreground:        blue
  275. X! *next.foreground:        green3
  276. X! *previous.foreground:        blue
  277. X! *quit.foreground:        red
  278. X! *quit.background:        white
  279. X! *replyall.background:        green
  280. X! *Save.foreground:        blue
  281. X! *save.background:        cyan
  282. X! *statusWindow.background:    brown
  283. X! *statusWindow.foreground:    yellow
  284. X! *Subject*background:        cyan
  285. X! *To*background:            cyan
  286. X! *textWindow*background:        LightGoldenrod
  287. X! *titleBar.background:        brown
  288. X! *titleBar.foreground:        yellow
  289. X! *undelete.foreground:        green3
  290. X! *write.foreground:        green3
  291. X! *Write.foreground:        red
  292. X--- 6,84 ----
  293. X  #
  294. X! # colors utilized in this application defaults file:
  295. X! #
  296. X! # ff0000 - red        ffff00 - yellow        ffffff - white
  297. X! # a52a2a - brown    00ffff - cyan        2e8b57 - seagreen
  298. X! # ff00ff - magenta    0000ff - blue        00ff00 - green
  299. X! # daa520 - goldenrod    eedd82 - lightgoldenrod    00cd00 - green3
  300. X! # d2b48c - tan        ffd700 - gold
  301. X! #
  302. X! #.geometry:            +121+0
  303. X! #*iconGeometry:            +826+0
  304. X! #
  305. X! *Autograph.background:        #00ffff
  306. X! *aliasList*Background:        #ffff00
  307. X! *alwaysignore*foreground:    #2e8b57
  308. X! *noalwaysignore*foreground:    #ff0000
  309. X! *autoprint*foreground:        #2e8b57
  310. X! *noautoprint*foreground:    #ff0000
  311. X! *background:            #ffff00
  312. X! *borderColor:            #a52a2a
  313. X! *Bcc.background:        #00ffff
  314. X! *Bcc*AsciiSink*Background:    #00ffff
  315. X! *Cancel.background:        #ffffff
  316. X! *Cancel.foreground:        #ff0000
  317. X! *Cancel.borderColor:        #ff0000
  318. X! *Cancel,.background:        #ffffff
  319. X! *Cancel,.foreground:        #ff00ff
  320. X! *Cancel,.borderColor:        #ff00ff
  321. X! *Cc.background:            #00ffff
  322. X! *Cc*AsciiSink*Background:    #00ffff
  323. X! *Copy.foreground:        #0000ff
  324. X! *commandPanel.background:    #daa520
  325. X! *copy.background:        #00ffff
  326. X! *Deliver.background:        #00ff00
  327. X! *Deliver.foreground:        #a52a2a
  328. X! *Deliver.borderColor:        #a52a2a
  329. X! *delete.foreground:        #ff0000
  330. X! *delete.background:        #ffffff
  331. X! *Drop.foreground:        #ff0000
  332. X! *exit.foreground:        #0000ff
  333. X! *expert*foreground:        #2e8b57
  334. X! *noexpert*foreground:        #ff0000
  335. X! *font:                          -adobe-courier-medium-r-normal--14-*
  336. X! *Folder.background:        #00ffff
  337. X! *fileWindow*background:        #00ffff
  338. X! *foreground:            #a52a2a
  339. X! *forward.foreground:        #00cd00
  340. X! *full.foreground:        #ff0000
  341. X! *helpFont:                      -adobe-courier-bold-r-normal--14-*
  342. X! *hold*foreground:        #2e8b57
  343. X! *nohold*foreground:        #ff0000
  344. X! *icon*background:        #ffd700
  345. X! *icon*foreground:        #a52a2a
  346. X! *inc.background:        #00ffff
  347. X! *indexWindow*background:    #eedd82
  348. X! *list.background:        #d2b48c
  349. X! *logo.background:        #0000ff
  350. X! *logo.foreground:        #ffffff
  351. X! *menu.background:        #d2b48c
  352. X! *Newmail.foreground:        #0000ff
  353. X! *next.foreground:        #00cd00
  354. X! *previous.foreground:        #0000ff
  355. X! *quit.foreground:        #ff0000
  356. X! *quit.background:        #ffffff
  357. X! *replyall.background:        #00ff00
  358. X! *save.background:        #00ffff
  359. X! *Save.foreground:        #0000ff
  360. X! *statusWindow.background:    #a52a2a
  361. X! *statusWindow.foreground:    #ffff00
  362. X! *Subject.background:        #00ffff
  363. X! *Subject*AsciiSink*Background:    #00ffff
  364. X! *textWindow*background:        #eedd82
  365. X! *titleBar.background:        #a52a2a
  366. X! *titleBar.foreground:        #ffff00
  367. X! *To.Background:            #00ffff
  368. X! *To*AsciiSink*Background:    #00ffff
  369. X! *undelete.foreground:        #00cd00
  370. X! *write.foreground:        #00cd00
  371. X! *Write.foreground:        #ff0000
  372. END_OF_FILE
  373. if test 10080 -ne `wc -c <'Patch.02e'`; then
  374.     echo shar: \"'Patch.02e'\" unpacked with wrong size!
  375. fi
  376. # end of 'Patch.02e'
  377. fi
  378. echo shar: End of archive 1 \(of 5\).
  379. cp /dev/null ark1isdone
  380. MISSING=""
  381. for I in 1 2 3 4 5 ; do
  382.     if test ! -f ark${I}isdone ; then
  383.     MISSING="${MISSING} ${I}"
  384.     fi
  385. done
  386. if test "${MISSING}" = "" ; then
  387.     echo You have unpacked all 5 archives.
  388.     rm -f ark[1-9]isdone
  389. else
  390.     echo You still need to unpack the following archives:
  391.     echo "        " ${MISSING}
  392. fi
  393. ##  End of shell archive.
  394. exit 0
  395.  
  396. dan
  397. ----------------------------------------------------
  398. O'Reilly && Associates   argv@sun.com / argv@ora.com
  399. Opinions expressed reflect those of the author only.
  400.